home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / apps / 558 / 1stword / install.doc < prev    next >
Text File  |  1986-02-11  |  13KB  |  410 lines

  1. 0660203030466
  2. 11st WordInstallation Guide
  3. 2Preliminarypage #7th February 1986
  4. 9[....................................................]
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. ü1STWORD
  21. Ç
  22. üPrinterInstallationGuide
  23. Ç
  24.  
  25.      ëCONTENTS
  26. Ç
  27. 1    Introduction
  28.  
  29. 2    FileFormat
  30.  
  31. 3    PrinterName
  32.  
  33. 4    ConfigurableVariables
  34.  
  35. 5    PrinterCharacteristics
  36.  
  37. 6    CharacterTranslationTable
  38.  
  39.  
  40.  
  41. ü1    IntroductionÇ
  42.  
  43. Thisdocumentisintendedforanyonewhowantstocreatea
  44. printerconfigurationfileforaprinternotyetsupportedby
  45. GST.Itexplainstheformatandcontentsoftheprinter
  46. configurationfile,andhowitisusedbytheprinterdriver.
  47.  
  48. TheexistingprinterconfigurationfilesforQumeandEpson
  49. compatibleprintersshouldbereadasexamples.
  50.  
  51.  
  52. Whenproducingaconfigurationforaprinter,itmayprove
  53. necessarytoconfiguretheprinteritself:manyprintershave
  54. setsofswitcheswhichaffectthingssuchasautolinefeedor
  55. paperlength.TheexistingEpsonprinterconfigurations
  56. assumethattheprinterissetforaUSAcharacterset,noLF
  57. afterCR,andnoperforationskip.
  58.  
  59. Withdaisywheelprinters,theactualdaisywheelinusewill
  60. affecttherequirementsforthecharactertranslationtable.
  61.  
  62. IfyouaredrivingtheprinteronanRS232serialline,you
  63. mayneedtoexperimentwiththecableconnections.Youmust
  64. connectthehardwarehandshakelines,astheprinterdriver
  65. doesnotusetheXON/XOFFhandshake.Thecableweuseis
  66. connectedasfollows,andworksformostprinters:
  67.  
  68.  
  69.      AtariST       Printer
  70.  
  71.    Protect        1-----------1
  72.      TXdata        2-----------3
  73.      Handshake      5-----------20
  74.      SignalGround  7-----------7
  75.  
  76.  
  77.  
  78. ü2    FileFormatÇ
  79.  
  80. Theprinterconfigurationfileisatextfilewhichcanbe
  81. editedusing1stWord.Mostofthedatainthefileis
  82. numeric,andnumbersareassumedtobeinhexadecimal(base
  83. 16).Linesstartingwithanasterisk(*)arecomments.
  84.  
  85. ThisfileisreadbyaprogramcalledINSTALL.PRGwhichpacks
  86. thisdataintoasmallbinaryfilewhichisthenusedbythe
  87. printerdriver.
  88.  
  89. Thedataheldinthefilefallsintofoursections,described
  90. insections3to6below.
  91.  
  92.  
  93. ü3    PrinterNameÇ
  94.  
  95. Thefirstnon-blanklineinthefile(excludingcomments)is
  96. assumedtobethenameoftheprinter.Thisnameis
  97. displayedintheprinterdriver'swindow.
  98.  
  99.  
  100. ü4    MiscellaneousConfigurableVariablesÇ
  101.  
  102. Thissectioncontainsalistofsixnumbers,onaline
  103. together.Theyaredescribedbelow.
  104.  
  105.  
  106. ü4.1  PrinterTypeÇ
  107.  
  108. Thisshouldbe1foradaisywheelprinterwhichallowsfine
  109. controloverhorizontalandverticalprinting.Zerohere
  110. indicatesadotmatrixprinter,orsomeothertypeof
  111. printer.Daisywheelprinterswhichdonotallowfinecontrol
  112. ofpositioning(egBrotherHR-1)shouldbeinstalledlike
  113. this.
  114.  
  115. Theprinterdrivertreatsthetwotypesofprinterquite
  116. differently.Onadaisywheelprinter,thespacesbetween
  117. wordsareadjustedtospreadoutthespaceevenlybetweenthe
  118. words.Thismeansthatinordertounderlinespaces,
  119. underliningisdoneasaseparatepassafterthetext.In
  120. NLQmode,changestoandfromitalictextcausetheprogram
  121. topausetoallowthedaisywheeltobechanged.
  122.  
  123. Itisassumedthatnon-daisywheelprintershavecommand
  124. sequencestocontrolunderliningandothertextstyles:the
  125. commandissenttotheprinter,buttheprinterdriverdoes
  126. nomorethanthat.Therearedifferentcommandsequencesto
  127. besentindraftmodeandNLQmode.
  128.  
  129.  
  130. ü4.2  UnitWidthÇ
  131.  
  132. (Daisywheelonly)Thisspecifiesthewidthofonecharacter
  133. intheprinter'sownwidthunits.
  134.  
  135. ü
  136. 4.3  UnitHeightÇ
  137.  
  138. (Daisywheelonly)Thisspecifiesthesizeofalinefeedin
  139. theprinter'sownheightunits.
  140.  
  141.  
  142. ü4.4  MiddleofcarriageÇ
  143.  
  144. (Daisywheelonly)Thisspecifiesthepositionthedaisywheel
  145. ismovedtowhenfeedingpaper:itshouldnormallybeinthe
  146. middleofthepaper.Thepositionisspecifiedinprinter
  147. unitsfromtheleftmargin.
  148.  
  149.  
  150. ♪≤ü4.5  CarriageshiftforBoldÇ
  151.  
  152. (Daisywheelonly)Thisspecifiesahorizontaloffsetusedby
  153. theprinterdriverwhenprintingboldtext:itprintsthe
  154. characteronce,movesalongafraction,andprintsagain.
  155.  
  156.  
  157. ü4.6  PausebetweenpagesÇ
  158.  
  159. Ifzero,theprinterdriverdoesnotpausebetweenpages.If
  160. nonzero,theprinterdriverpausesattheendofeachpageto
  161. allowthepapertobechanged.
  162.  
  163. Thiswasnotpresentonearlyversionsoftheprogram:if
  164. yourprinterconfigurationfileshaveonlyfiveentrieshere,
  165. contactyourdealer(orAtari)forthenewversion.
  166.  
  167.  
  168. ü5    PrinterCharacteristicsÇ
  169.  
  170. Thisisatableofcommandsequenceswhichmaybesenttothe
  171. printer.Notallofthetableentriesmustbepresent,but
  172. theymustbeinincreasingnumericorder.
  173.  
  174. Eachtableentry,ifpresent,startswithitsentrynumber.
  175. Thecodestobesenttotheprinterthenfollow.Acomment
  176. maybeincludedonthelineafteranasterisk.Avaluemore
  177. than80(hex)isaplace-holderforvariablebinary
  178. informationtobesenttotheprinter:thedifferenceafter
  179. subtracting80isaddedtothevaluetobeoutput.(For
  180. example,onaQume-compatibleprinter,commandstocontrol
  181. characterwidthrequireavaluetobeoutputofwidth+1,so
  182. theplaceholderinthecommandis81.)
  183.  
  184. Thetableisterminatedbyanullentry,buttheremustbeat
  185. leastonenon-zeroentrybeforethis.
  186.  
  187. Inadditiontotheinitialisationstringslistedbelow,the
  188. printerdriversendsallthecommandswhichturnoffprint
  189. stylesatthestartofadocument.
  190.  
  191.  
  192. ü5.0  SetCharacterWidthÇ
  193.  
  194. (Daisywheelonly)Thiscommandisusedtosendcharacter
  195. widthchangestotheprinter.Itshouldcontainaplaceholder
  196. forthewidth.
  197.  
  198.  
  199. ü5.1  LinefeedÇ
  200.  
  201. Thiscommandcontainsthecodetobesenttotheprinterat
  202. theendofaline.Typically,itisjustalinefeedfor
  203. daisywheelprintersbeingdrivenbidirectionally,orlinefeed
  204. andcarriagereturnfordotmatrixprinters.
  205.  
  206.  
  207. ü5.2  ForwardPrint
  208.  
  209.  
  210. 5.3  BackwardPrint
  211. Ç
  212. (Daisywheelonly)Thesearethecommandstotelltheprinter
  213. whichdirectiontomovetheprinthead.
  214.  
  215.  
  216. ♪∙ü5.4  VerticalTabÇ
  217.  
  218. (Optional)Thiscommandfeedsthepaperbyseverallines.The
  219. commandshouldincludeaplaceholderforthelinenumber.If
  220. thiscommandsequenceisomittedfromthetable,several
  221. linefeedswillbeusedinstead.
  222.  
  223. ♪⑦Thereisaslightproblemwithusingverticaltabsonsome
  224. printers.Ifyouhaveadocumentwithover-longlines,and
  225. theprinterautomaticallywrapslineswhicharetoolong,
  226. thismaycausetheprinter'slinenumbertogetoutofstep
  227. withtheprogram'slinenumber.Verticaltabswouldthen
  228. typicallyskiptothestartofthenextpage.
  229.  
  230.  
  231. ü5.5  AbsoluteHorizontalTabÇ
  232.  
  233. (Non-daisywheel,optional)Thiscommandisthehorizontal
  234. equivalentoftheabove:itmoveshorizontallytoaspecified
  235. characterposition.
  236.  
  237.  
  238. ü5.6  DraftBoldOn
  239. Ç
  240. (Non-daisywheel,optional)Thisandthefollowingstyle
  241. changecommandsaresenttotheprintertoswitchitintothe
  242. appropriatetextstyle.Thereareseparatecommandsequences
  243. tobesentinbothdraftmodeandNLQmode.
  244.  
  245.  
  246. ü5.7  DraftBoldOff
  247.  
  248.  
  249. 5.8  NLQBoldOn
  250.  
  251.  
  252. 5.9  NLQBoldOff
  253.  
  254. ÇThisshouldensurethattheprinterisinnon-boldNLQmode,
  255. aswellasturningoffbold.Allofthecommandswhichturn
  256. offastyleinNLQmodeshouldensurethettheprinterisin
  257. NLQ.
  258.  
  259.  
  260. ü5.A  DraftItalicOn
  261.  
  262.  
  263. 5.B  DraftItalicOff
  264. Ç
  265.  
  266. ♪°ü5.C  NLQItalicOnÇ
  267.  
  268. (Nondaisywheel)Wediscovered,whencreatingthe
  269. configurationfilefortheEpsonLX-80,thatitcannotprint
  270. italicNLQtext.ThiscommandintheLX-80driverturnsoff
  271. NLQmode,andthenextoneturnsitbackon.
  272.  
  273.  
  274. ü5.D  NLQItalicOff
  275.  
  276.  
  277. 5.E  DraftLightOn
  278.  
  279.  
  280. 5.F  DraftLightOff
  281.  
  282.  
  283. ♪⑨5.10 NLQLightOn
  284. Ç
  285. (Nondaisywheel)InourLX-80configurationfile,wemake
  286. "Light"textappearinanon-NLQfount.
  287.  
  288.  
  289. ü5.11 NLQLightOff
  290.  
  291.  
  292. ♪⑦5.12 DraftSuperscriptOnÇ
  293.  
  294. Forcorrectjustificationoftext,superscriptandsubscript
  295. charactersshouldbethesamewidthasnormaltext.Usea
  296. halflinefeedondaisywheelprinters.
  297.  
  298.  
  299. ü5.13 DraftSuperscriptOff
  300.  
  301.  
  302. 5.14 NLQSuperscriptOn
  303.  
  304.  
  305. 5.15NLQSuperscriptOff
  306.  
  307.  
  308. 5.16 DraftSubscriptOn
  309.  
  310.  
  311. 5.17 DraftSubscriptOff
  312.  
  313.  
  314. 5.18 NLQSubscriptOn
  315.  
  316.  
  317. 5.19 NLQSubscriptOff
  318.  
  319.  
  320. 5.1ADraftUnderlineOn
  321. Ç
  322. (Non-daisywheel)Notethatunderliningonadaisywheel
  323. printerisperformedbyaseparatepassoftheline,sothat
  324. underlinedstretchedspacesworkproperly.
  325.  
  326.  
  327. ü5.1B DraftUnderlineOff
  328.  
  329.  
  330. 5.1C NLQUnderlineOn
  331.  
  332.  
  333. 5.1D NLQUnderlineOff
  334.  
  335.  
  336. ♪⑦5.1E FormfeedÇ
  337.  
  338. (Optional)Ifthiscodeisdefined,itisusedtofeedthe
  339. papertothetopofthenextsheet.Ifnotdefined,linefeeds
  340. willbeused.
  341.  
  342.  
  343. ♪⑦ü5.1F HorizontalInitialisationÇ
  344.  
  345. (Optional)Foranon-daisywheelprinter,thiscodeissent
  346. onceonlyatthestartofthedocument.
  347.  
  348. Foradaisywheelprinter,thiscommandmayincludea
  349. characterwidthcommand,andanyplaceholder(seeabove)will
  350. bereplacedbythedefaultcharacterwidthfromü4.2Çabove.
  351.  
  352.  
  353. ü5.20 VerticalInitialisationÇ
  354.  
  355. (Optional)Foranon-daisywheelprinter,thiscodeissent
  356. onceonlyatthestartofthedocument.
  357.  
  358. Foradaisywheelprinter,thiscommandmayincludealinefeed
  359. distancecommand,andanyplaceholder(seeabove)willbe
  360. replacedbythedefaultlineheightfromü4.3Çabove.
  361.  
  362. Youmaywanttoincludeaformfeedinthisinitialisation
  363. stringtoensurethattheprinterisatthestartofa
  364. document.
  365.  
  366.  
  367. ü5.21 PrinterResetÇ
  368.  
  369. (Optional)Thiscommandissenttotheprinterattheendof
  370. thedocumenttoresetitforusebyotherprograms.
  371.  
  372. ü6    CharacterTranslationTable
  373. Ç
  374. Thistablehasasimilarstructuretothecommandtable
  375. above,butitisusedtotranslatecharactersbefore
  376. transmission.
  377.  
  378. MostoftheüfirsthalfÇoftheAtariextendedinternational
  379. charactersetcanbesentdirectlytoaprinterwithout
  380. translation.Thereneednotbeanyentryinthetablefora
  381. standardasciicharacter.
  382.  
  383. Accentedcharactersandotherinternationalcharactersinthe
  384. secondhalfofthecharactersetcanbeprintedonsome
  385. printerseitherbyoverprintingorbysendingcommandstothe
  386. printertoswitchfount.Inthiscasethetableentryshould
  387. startwiththecodeofthecharactertobetranslated,
  388. followedbythedatatobesenttotheprinter.
  389.  
  390. Whereacharactercannotbesatisfactorilyprinted,atable
  391. entrygivingjustthecharactercodewithoutanytranslation
  392. willcausetheprinterdrivertoskipthatcharacter.
  393.  
  394. Thetablemustbeinascendingorder,andterminatedwitha
  395. zeroentry.
  396.  
  397. SeethestandardEpsonconfigurationforlanguagetranslation
  398. commandstoaccesscharacters(itswitchesbacktotheUSA
  399. fountforsomestandardasciisymbols).
  400.  
  401. SeethestandardQUMEconfigurationfileforaccented
  402. charactersonanEnglishdaisywheelachievedbyoverprinting.
  403. Thistablewillneedchangingfordifferentdaisywheels!
  404.  
  405. Thereisnofixedsizelimitonthesizeofthetable,so
  406. adventurousinstallerscouldtryincludingcommandsto
  407. downloadcharactershapesintodotmatrixprintersforsome
  408. ofthemoreexoticcharacters.
  409.  
  410.